package com.ruoyi.sywx.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 舆情登记和发帖人关联业务对象 yq_poster_link
 *
 * @author ruoyi
 * @date 2024-01-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class YqPosterLinkBo extends BaseEntity {

    /**
     * 舆情id
     */
    @NotNull(message = "舆情id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long yqId;

    /**
     * 发帖人id
     */
    @NotNull(message = "发帖人id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long posterId;


}
